From: Teodor Zlatanov Date: Wed, 4 May 2011 11:28:46 +0000 (+0000) Subject: registry.el (registry-reindex): Fix percentage message. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~3940 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7594b1024250e0103f62f0be671617b7166fdfda;p=emacs.git registry.el (registry-reindex): Fix percentage message. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 30f5c743bc0..fbaa114bde3 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2011-05-04 Teodor Zlatanov + + * registry.el (registry-reindex): Fix percentage message. + 2011-05-03 Teodor Zlatanov * shr.el: Add shr-link face for links. diff --git a/lisp/gnus/registry.el b/lisp/gnus/registry.el index e82ca8d9b6f..51bfc9cde57 100644 --- a/lisp/gnus/registry.el +++ b/lisp/gnus/registry.el @@ -298,7 +298,7 @@ Errors out if the key exists already." (when (and (< 0 expected) (= 0 (mod count 1000))) (message "reindexing: %d of %d (%.2f%%)" - count expected (/ (* 1000 count) expected))) + count expected (/ (* 100 count) expected))) (dolist (val (cdr-safe (assq tr v))) (let* ((value-keys (registry-lookup-secondary-value db tr val))) (push key value-keys)